From: Richard M. Stallman Date: Mon, 4 Mar 2002 22:27:03 +0000 (+0000) Subject: (define-minor-mode): Use "P" in interactive spec of minor mode commands. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~58431 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3881a186743fdde1716d4633d6098b51caf2a02e;p=emacs.git (define-minor-mode): Use "P" in interactive spec of minor mode commands. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3d25be38469..59a852f2057 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2002-03-04 Richard M. Stallman + + * emacs-lisp/easy-mmode.el (define-minor-mode): + Use "P" in interactive spec of minor mode commands. + 2002-03-04 Pavel Jan,Bm(Bk * net/snmp-mode.el: Require tempo when compiling to prevent diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 0757115ee40..d916bc2f57c 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el @@ -177,7 +177,7 @@ With zero or negative ARG turn mode off. \\{%s}") pretty-name keymap-sym)) ;; Make no arg by default in an interactive call, ;; so that repeating the command toggles again. - (interactive) + (interactive "P") (setq ,mode (if arg (> (prefix-numeric-value arg) 0)